package com.henry.imkit.models

data class BaseRepo(
    val status: Boolean = false,
    val msg: String = "",
    val informationcode: Int = 0,
)

data class SessionRepo(
    val status: Boolean = false,
    val msg: String = "",
    val informationcode: Int = 0,
    val sessionid: String?,
)

data class ConversationRepo(
    val status: Boolean = false,
    val total: Int,
    val totalpage: Int,
    val list: List<ConversationData>,
    val informationcode: Int? = 0,
    val msg: String? = "",
    )

data class UserRepo(
    val body: User
)

data class ConversationInfoRepo(
    val groupInfo: ConversationDetail?,
    val memberList: List<Member>?
)

data class UserListRepo(
    val status: Boolean = false,
    val informationcode: Int? = 0,
    val msg: String? = "",
    val total: Int,
    val list: List<User>
)

data class MessagesRepo(
    val status: Boolean = false,
    val msg: String = "",
    val informationcode: Int = 0,
    val list: List<MessageData>
)

data class CreateConversationRepo(
    val status: Boolean = false,
    val msg: String = "",
    val informationcode: Int = 0,
    val dgid: String? = "",
    val discussgroup: ConversationData?
)

data class SingleFileRepo(
    val status: Boolean = false,
    val msg: String = "",
    val url: String? = "",
)

data class FileData(
    val status: Boolean = false,
    val msg: String = "",
    val url: String?,
    val thumbUrl: String?,
    val width: Int,
    val height: Int,
)

data class MultipartFileRepo(
    val status: Boolean = false,
    val msg: String = "",
    val rows: List<FileData>? = null
)

data class RTCDomainRepo(
    val status: Boolean = false,
    val msg: String = "",
    val informationcode: Int = 0,
    val domain: DomainData?,
)